proxy: fix indentation warning
authorVladimír Chlup <[email protected]>
Thu, 27 Feb 2025 20:42:02 +0000 (21:42 +0100)
committerÁlvaro Fernández Rojas <[email protected]>
Sun, 19 Oct 2025 18:07:22 +0000 (20:07 +0200)
commit848d696419eb2d13b7eaca4295f7711196fd1262
treed3b31940fa3bfae3841e2b84f8018e270a2bbdc3
parentfc2eac19ea031411ab589cd92d713961549d6a46
proxy: fix indentation warning

Fixes the following warning caused by a bad indentation:

src/proxy.c: In function ‘proxy_set’:
src/proxy.c:161:17: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
  161 |                 for (i = 0; i < downlinks_cnt && downlinks[i] == iface->iface->ifindex; ++i);
      |                 ^~~
src/proxy.c:162:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
  162 |                         if (i == downlinks_cnt)
      |                         ^~

Signed-off-by: Vladimír Chlup <[email protected]>
Link: https://github.com/openwrt/omcproxy/pull/13
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
src/proxy.c